using System.Collections;
using System.Collections.Generic;
using UnityEngine;

namespace TEST
{
    public class Test_TextReader : MonoBehaviour
    {
        
        [SerializeField]private TextAsset assetName;
        // Start is called before the first frame update
        void Start()
        {
            StartCoroutine(run());
        }

        IEnumerator run()
        {
            List<string> lines = FileManager.ReadTextAsset(assetName,false);

            foreach (string line in lines)
                Debug.Log(line);
            yield return null;
        }
    }
}
